import request from '@/utils/request'

export function getmeter(data) {
  return request({
    url: '/PCmeter/getmeter',
    method: 'post',
    data: data
  })
}
export function upmeter(data) {
  return request({
    url: '/meter/upmeter',
    method: 'post',
    data: { data }
  })
}

export function getAllmeter(data) {
  return request({
    url: '/meter/getAllmeter',
    method: 'post',
    data: { data }
  })
}

export function addmasters(data) {
  return request({
    url: '/meter/addmasters',
    method: 'post',
    data: { data }
  })
}
export function getmasters() {
  return request({
    url: '/meter/getmasters',
    method: 'get'
  })
}
export function getsubsidys() {
  return request({
    url: '/meter/getsubsidys',
    method: 'get'
  })
}
export function upsubsidys(data) {
  return request({
    url: '/meter/upsubsidys',
    method: 'post',
    data: { data }
  })
}

export function insubsidys(data) {
  return request({
    url: '/meter/insubsidys',
    method: 'post',
    data: { data }
  })
}
// export function addCleanerToFloor(floorId, cleanerId,userId) {
//   return request({
//     url: '/floor/addCleanerToFloor',
//     method: 'post',
//     data: { floorId, cleanerId,userId }
//   })

// }
